package com.noble.meether.fragment.rob.bean;

import com.noble.library.base.bean.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * 抢聊大厅列表
 */
public class RobList extends BaseData {
    private ArrayList<Rob> robList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.robList = (ArrayList<Rob>) getBaseDataList(jsonArray, Rob.class);
    }

    public ArrayList<Rob> getRobList() {
        return robList;
    }
}
